#ifndef _PROTOCOL_H_
#define _PROTOCOL_H_

#include "PodConstants.h"

typedef enum {
   cmdERROR = -1,
   cmdNOOP = 0,
   cmdMOVE = 1,
   cmdPOLLINPUTS,
   cmdSTARTPOLLING,
   cmdSTOPPOLLING,
   cmdSTARTMOVING,
   cmdSTOPMOVING,
   cmdSTOP,
   cmdSTART,
   cmdHOME,
   cmdPARK,
   cmdFOLLOW,
   cmdGETSTATE,
   cmdVERBOSE,
   cmdVERBOSEPOLL,
   cmdVERBOSEMOVE
} podcommand;

typedef struct {
   float x;
   float y;
   float z;
   float r;
   float p;
   float w;
} movedata;

typedef struct {
   int inputs[NUM_INPUTS];
} polldata;

#endif
